package com.markerhub.common.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

//登录时传入的数据
@Data
public class LoginDto implements Serializable {

    @NotBlank(message = "账号不能为空!")
    private String username;

    @NotBlank(message = "密码不能为空!")
    private String password;
}
